#include "LoginDialog.h"
#include "ui_LoginDialog.h"

LoginDialog::LoginDialog(QRect screenGeometry,QWidget *parent) :
    QDialog(parent),
    ui(new Ui::LoginDialog)
{
    ui->setupUi(this);
    this->screenGeometry = screenGeometry;
    this->setFixedSize(this->screenGeometry.width(),this->screenGeometry.height());//设置窗口大小
}

LoginDialog::~LoginDialog()
{
    delete ui;
}
